from django.conf.urls.defaults import *
import os.path

urlpatterns = patterns('',
   (r'^admin/', include('django.contrib.admin.urls')),
   (r'^forum/',include('soup.forum.urls')),  
   (r'^portal/',include('soup.portal.urls')),
   (r'^$','soup.portal.views.main'),
   
   # production only
   (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.join(os.path.dirname(__file__), 'static'),}),
)
